Scale: Fix signal documentation syntax
authorDaniel Boles <dboles@src.gnome.org>
Sun, 19 Feb 2017 10:13:34 +0000 (10:13 +0000)
committerDaniel Boles <dboles@src.gnome.org>
Sun, 19 Feb 2017 10:14:01 +0000 (10:14 +0000)
Oops, sorry. Thanks to Cristoph Reiter for correcting me on this.

gtk/gtkscale.c

index d6f0eb5eef0937dd3f88f6504ae170bb5967e130..3cecd080576199dc134cf19475908caf8d8c23a5 100644 (file)
@@ -727,7 +727,7 @@ gtk_scale_class_init (GtkScaleClass *class)
   class->get_layout_offsets = gtk_scale_real_get_layout_offsets;
 
   /**
-   * GtkScale:format-value:
+   * GtkScale::format-value:
    * @scale: the object which received the signal
    * @value: the value to format
    *
@@ -767,7 +767,7 @@ gtk_scale_class_init (GtkScaleClass *class)
    *
    * The number of decimal places to which the value is rounded when it is
    * changed. This also sets the number of digits shown in the displayed value
-   * when using the default handler for the #GtkScale:format-value signal.
+   * when using the default handler for the #GtkScale::format-value signal.
    */
   properties[PROP_DIGITS] =
       g_param_spec_int ("digits",
@@ -1091,11 +1091,11 @@ gtk_scale_new_with_range (GtkOrientation orientation,
  *
  * Sets the number of decimal places to which the value is rounded when it is
  * changed. This also sets the number of digits shown in the displayed value
- * when using the default handler for the #GtkScale:format-value signal.
+ * when using the default handler for the #GtkScale::format-value signal.
  *
  * Note that rounding to a small number of digits can interfere with
  * the smooth autoscrolling that is built into #GtkScale. As an alternative,
- * you can use the #GtkScale:format-value signal to format the displayed
+ * you can use the #GtkScale::format-value signal to format the displayed
  * value yourself.
  */
 void
@@ -1129,7 +1129,7 @@ gtk_scale_set_digits (GtkScale *scale,
  * @scale: a #GtkScale
  *
  * Gets the number of decimal places to which the value is rounded on change.
- * This number is also used by the default #GtkScale:format-value handler.
+ * This number is also used by the default #GtkScale::format-value handler.
  *
  * Returns: the number of decimal places
  */
@@ -1904,7 +1904,7 @@ weed_out_neg_zero (gchar *str,
 }
 
 /*
- * Emits the #GtkScale:format-value signal.
+ * Emits the #GtkScale::format-value signal.
  *
  * Returns: formatted value
  */